import request from './request'

//登录
export const login = (data) => {
    return request({
        url: '/login',
        method: 'POST',
        data
    })
}

//Token验证
export const verify = (data) => {
    return request({
        url: '/login/verify',
        method: 'POST',
        data
    })
}

//注册
export const register = (data) => {
    return request({
        url: '/login/register',
        method: 'POST',
        data
    })
}
